package com.example.nacosclientrabbit.repository;

import com.example.nacosclientrabbit.entity.Message;
import org.springframework.amqp.rabbit.connection.CorrelationData;
import org.springframework.amqp.rabbit.core.RabbitTemplate;

public interface SendRepository extends RabbitTemplate.ConfirmCallback{

    Object send(Message message);

    @Override
   void confirm(CorrelationData correlationData, boolean ack, String cause);


}
